package com.itheima.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


/**
 * 交接任务
 *
 * @author diesel
 */
@Data
@ApiModel(description = "交接任务")
public class HandoverDistributeDTO {
    @ApiModelProperty("主键")
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty("交接员")
    @NotEmpty(message = "交接员不能为空")
    private String handoverName;
}
